package com.ls.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * <p>
 * 
 * </p>
 *
 * @author ${author}
 * @since 2022-05-09
 */
public class Schedule implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 医院编号
     */
    private String hoscode;

    /**
     * 部门编号
     */
    private String depcode;

    /**
     * 名称
     */
    private String title;

    /**
     * 医生姓名
     */
    private String docname;

    /**
     * 医生擅长
     */
    private String skill;

    /**
     * 排班时间
     */
    private LocalDate workDate;

    /**
     * 看病时间(0上午,1下午)
     */
    private Integer workTime;

    /**
     * 号源数
     */
    private Integer reservedNumber;

    /**
     * 余数
     */
    private Integer availableNumber;

    /**
     * 挂号费
     */
    private Integer amount;

    /**
     * 是否出诊(1 正常）
     */
    private Integer status;

    /**
     * 排班编号
     */
    private String hosScheduleId;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getHoscode() {
        return hoscode;
    }

    public void setHoscode(String hoscode) {
        this.hoscode = hoscode;
    }

    public String getDepcode() {
        return depcode;
    }

    public void setDepcode(String depcode) {
        this.depcode = depcode;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDocname() {
        return docname;
    }

    public void setDocname(String docname) {
        this.docname = docname;
    }

    public String getSkill() {
        return skill;
    }

    public void setSkill(String skill) {
        this.skill = skill;
    }

    public LocalDate getWorkDate() {
        return workDate;
    }

    public void setWorkDate(LocalDate workDate) {
        this.workDate = workDate;
    }

    public Integer getWorkTime() {
        return workTime;
    }

    public void setWorkTime(Integer workTime) {
        this.workTime = workTime;
    }

    public Integer getReservedNumber() {
        return reservedNumber;
    }

    public void setReservedNumber(Integer reservedNumber) {
        this.reservedNumber = reservedNumber;
    }

    public Integer getAvailableNumber() {
        return availableNumber;
    }

    public void setAvailableNumber(Integer availableNumber) {
        this.availableNumber = availableNumber;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getHosScheduleId() {
        return hosScheduleId;
    }

    public void setHosScheduleId(String hosScheduleId) {
        this.hosScheduleId = hosScheduleId;
    }

    @Override
    public String toString() {
        return "Schedule{" +
        "id=" + id +
        ", hoscode=" + hoscode +
        ", depcode=" + depcode +
        ", title=" + title +
        ", docname=" + docname +
        ", skill=" + skill +
        ", workDate=" + workDate +
        ", workTime=" + workTime +
        ", reservedNumber=" + reservedNumber +
        ", availableNumber=" + availableNumber +
        ", amount=" + amount +
        ", status=" + status +
        ", hosScheduleId=" + hosScheduleId +
        "}";
    }
}
